package src.com.jun.service;

import src.com.jun.spring.SpringApplicationContext;

/**
 * @author 咏鹅
 * @version 1.0
 * @description TODO
 * @date 2024/3/16 23:46
 */
public class Test {

    public static void main(String[] args) {
        SpringApplicationContext springApplicationContext = new SpringApplicationContext(AppConfig.class);

        System.out.println(springApplicationContext.getBean("UserService"));
        System.out.println(springApplicationContext.getBean("UserService"));
        System.out.println(springApplicationContext.getBean("UserService"));

    }
}
